//
//  FXCalcAppDelegate.h
//  FXCalc
//
//  Created by jiro on 12/06/24.
//  Copyright 2012 jiro music. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface FXCalcAppDelegate : NSObject <NSApplicationDelegate>
{
    NSWindow *window;

	IBOutlet NSTextField* entryExchangeRate;

	IBOutlet NSTextField* targetDelta;

	IBOutlet NSTextField* lossCutDelta;

	IBOutlet NSTextField* charge;

	IBOutlet NSTextField* spread;

	IBOutlet NSTextField* investMoney;

	IBOutlet NSTextField* targetInterestRate;

	IBOutlet NSTextField* totalExchangeCount;

	IBOutlet NSTextField* breakEvenWinRate;

	IBOutlet NSTextField* targetWinnigExchangeCount;

	IBOutlet NSTextField* targetMinimumExchangeCount;

	IBOutlet NSTextField* targetMaxmumExchangeCount;
	
	IBOutlet NSTextField* evenWinCount;

	IBOutlet NSTextField* minimumTargetDelta;

	IBOutlet NSTextField* profitAtTargetRate;

	IBOutlet NSTextField* profitAtLossCutRate;

	IBOutlet NSTextField* profitPercentageAtTargetRate;
	
	IBOutlet NSTextField* profitPercentageAtLossCutRate;

}

@property (assign) IBOutlet NSWindow *window;
@property (assign) 	IBOutlet NSTextField* entryExchangeRate;
@property (assign) 	IBOutlet NSTextField* targetDelta;
@property (assign) 	IBOutlet NSTextField* lossCutDelta;
@property (assign) 	IBOutlet NSTextField* charge;
@property (assign) 	IBOutlet NSTextField* spread;
@property (assign) 	IBOutlet NSTextField* investMoney;
@property (assign)	IBOutlet NSTextField* totalExchangeCount;
@property (assign) 	IBOutlet NSTextField* targetInterestRate;
@property (assign) 	IBOutlet NSTextField* breakEvenWinRate;
@property (assign) 	IBOutlet NSTextField* targetWinnigExchangeCount;
@property (assign) 	IBOutlet NSTextField* targetMinimumExchangeCount;
@property (assign)	IBOutlet NSTextField* targetMaxmumExchangeCount;
@property (assign)	IBOutlet NSTextField* evenWinCount;
@property (assign)	IBOutlet NSTextField* minimumTargetDelta;
@property (assign)	IBOutlet NSTextField* profitAtTargetRate;
@property (assign)	IBOutlet NSTextField* profitAtLossCutRate;
@property (assign)	IBOutlet NSTextField* profitPercentageAtTargetRate;
@property (assign)	IBOutlet NSTextField* profitPercentageAtLossCutRate;

- (IBAction) calc: (id) sender;

@end
